﻿namespace MXERP.Blazor.Components
{
    public partial class TemplateColumn<T> : Column<T>
    {
        protected internal override object? CellContent(T item)
            => null;

        /// <summary>
        /// The name of this column.
        /// </summary>
        public override string PropertyName { get; } = Guid.NewGuid().ToString();

        protected internal override object? PropertyFunc(T item)
            => null;

        protected internal override void SetProperty(object item, object value)
        {
        }
    }
}
